<?php

namespace App\Http\Admin\Controllers\Media\BliUper;

use App\Http\Admin\Services\Media\BliUper\BliUperService;
use App\Http\Models\BliUper;
use App\Http\Controllers\Controller;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\DB;


class BliUperController extends Controller
{
    protected $service;
    public function __construct(BliUperService $service)
    {
        $this->service = $service;
    }

    public function index()
    {
        return view('media.bliuper_list');
    }

    public function BliData(Request $request)
    {
        $conditions = $request->all();

        $result = $this->service->BliData($conditions);

        return res('ok',$result);
    }

}